﻿using WebApplication1.Models;
using WebApplication1.Services;

namespace WebApplication1.Presenters.Client
{
    public class DetailsPresenter
    {
        public ClientModel Model { get; private set; }

        public DetailsPresenter(ClientModel model)
        {
            Model = model;
        }

        public void Save()
        {
            ClientService.Save(Model);
        }
    }
}